package com.sunday.common.core.remoting.base.response.core;

/**
 * 异常转换
 *
 * @author zsy
 * @since 2022/10/14
 */
@FunctionalInterface
public interface ExceptionResolve<T> {

    T resolve(ThrowableFilter filter, Throwable error);

}